# $Id: PKGBUILD 56409 2011-10-07 09:50:25Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-datetime-format-w3cdtf
pkgver=0.06
pkgrel=1
pkgdesc="Parse and format W3CDTF datetime strings"
arch=('any')
url="http://search.cpan.org/dist/DateTime-Format-W3CDTF"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-datetime')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-$pkgver.tar.gz)
md5sums=('7eb2a90b78e7e2232eddbd6dd6758a23')

build() {
  cd  $srcdir/DateTime-Format-W3CDTF-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
